<script setup lang="ts">
import { ESkeleton } from 'exploria-ui';
import { onMounted, ref } from 'vue';

const loading = ref(true);
onMounted(() => {
    setTimeout(() => {
        loading.value = false;
    }, 2000);
});
</script>

<template>
    <ESkeleton v-if="loading" />
    <div v-else>加载完成</div>
</template>

<style scoped lang="scss"></style>
